// 导入路由模块
const Router = require('koa-router');
// 导入http模块
const http = require('http');
// 创建路由规则
const router = new Router();
// const router=require('./api');
// 使用socket.io发送websocket请求
router.get('/',async (ctx,next)=>{
    await ctx.render('index',{title:'WebSocket智能客服系统'});
});
module.exports = router;